package com.lagou.task11;

public class Test {

    public static void main(String[] args) {

        Manager manager = new Manager();
        manager.setId(123);
        manager.setSarlary(15000);
        manager.setBonus(6000);
        manager.setName("一龙");
        manager.work();
        System.out.println("分配任务,检查员工提交上来的代码.....");
        Coder coder = new Coder();
        coder.setId(135);
        coder.setSalary(10000);
        coder.setName("方便");
        coder.work();

        System.out.println("-----------------------------------------------------------------");

        Manager manager1 = new Manager("一龙", 123, 15000, 6000);
        manager1.work();
        System.out.println("分配任务,检查员工提交上来的代码.....");
        Coder coder1 = new Coder("方便", 135, 10000);
        coder1.work();
    }

}
